﻿
namespace MyFurion.Model
{
    /// <summary>
    /// 系统公告
    /// </summary>
    [SugarTable("Sys_Notice")]
    [Tenant(0)]
    public class NoticeInfo:BaseEntity
    {
        /// <summary>
        /// 标题
        /// </summary>
        [SugarColumn(IsNullable =true,ColumnDescription ="标题")]
        public string Title { get; set; }
        /// <summary>
        /// 公告内容
        /// </summary>
        [SugarColumn(IsNullable = true, ColumnDescription = "公告内容",ColumnDataType =CommonConst.DB_STRING_MAX)]
        public string NoticeContent { get; set; }
        /// <summary>
        /// 是否发布 0：否 1：是
        /// </summary>
        [SugarColumn(ColumnDescription = "是否发布 0否 1是", DefaultValue = "0")]
        public int IsPublish { get; set; }
        /// <summary>
        /// 发布日期
        /// </summary>
        [SugarColumn(IsNullable = true, ColumnDescription = "发布日期")]
        public DateTime? PublishDate { get; set; }
    }
}
